<!doctype html>
<html>
    <head>
        <Title>WebMud</title>
        <script src="/lib/logger.js"></script>
        <!-- TODO figure out if Orbited is smart enough eTag this, alt. should be able to move to the CDN -->
        <script src="/static/Orbited.js"></script>
        <script>            
            TCPSocket = Orbited.TCPSocket;
        </script>
        <!-- BEcause I can -->
        
        <script src="/lib/prototype.js"></script>        
        <script src="/lib/jquery.js"></script>
        <!--<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>        -->
        <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>-->
        <script>  jQuery.noConflict(); </script>
        <!-- EXT -->
        <script src="/extjs/adapter/prototype/ext-prototype-adapter.js"></script>
        <script src="/extjs/ext-all.js"></script>
        
        <!--<script src="http://extjs.cachefly.net/ext-3.1.0/ext-all.js"></script>-->
        <script src="/lib/statusbar.js"></script>
        <link href="/extjs/resources/css/ext-all.css" type="text/css"  rel="stylesheet" />
        <!--<link href="/WM/extjs/resources/css/xtheme-gray.css" type="text/css" rel="stylesheet" />-->
        
        <!-- WebMud core -->
        <script src="/lib/wmlib.loader.js"></script>
        <script src="/lib/signal.js"></script>  
        <script src="/lib/router.js"></script>
        

    </head>
    <body>
        <!-- Loading mask and image -->
        <div id="loading-mask" style="width:100%; height:100%; background:#c3daf9; position :absolute; z-index:-20000;left:0;top:0;"></div>              
    </body>    
    <script>
    //Very aware its bad form to put this here, but body is going to get nuked soon
        Ext.onReady(function(){                    
            wm.signal = new wmlib.Signal();
            wm.signal.connect();        
        });
    </script>
</html>